package com.itttq.im.ws.netty;

import io.netty.util.AttributeKey;

/**
 * Channel属性对象
 * @Author GXG
 */
public class Attributes {
    /**
     * 用户ID属性
     */
    public static final AttributeKey<String> USER_ID = AttributeKey.newInstance("userId");
    /**
     * 群组ID属性
     */
    public static final AttributeKey<String> GROUP_ID = AttributeKey.newInstance("groupId");
    /**
     * 空闲时间属性
     */
    public static final AttributeKey<Long> IDLE_TIME = AttributeKey.newInstance("idleTime");
}
